package hotciv.view;

import hotciv.framework.Game;
import hotciv.view.*;

import javax.swing.JTextField;

import minidraw.framework.*;

public class HotCivFactory implements Factory {

  private Game game;
  public HotCivFactory( Game game ) {
    super();
    this.game = game;
  }

  public DrawingView createDrawingView( DrawingEditor editor ) {
    DrawingView view = new MapView( editor, game );
    return view;
  }

  public Drawing createDrawing( DrawingEditor editor ) {
    return new UnitDrawing(editor, game );
  }

  public JTextField createStatusField( DrawingEditor editor ) {
	  JTextField tf = new JTextField("Testing...");
      tf.setEditable(false);
      return tf;
    //return null;
  }
}
